package cn.edu.fzu.delivery.service.impl;

import cn.edu.fzu.delivery.domain.entity.Province;
import cn.edu.fzu.delivery.mapper.ProvinceMapper;
import cn.edu.fzu.delivery.service.ProvinceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author yifan
 * @date 2022/11/7
 */
@Service
public class ProvinceServiceImpl implements ProvinceService {

    @Resource
    private ProvinceMapper provinceMapper;

    @Override
    public List<Province> list() {
        return provinceMapper.listAll();
    }
}
